package com.lingxu.api.ztb.mapper;

import com.lingxu.api.ztb.model.ZtbBiddingevafilehis;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lingxu.api.ztb.model.vo.ZtbBiddingevafilehisVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;


import java.util.List;

/**
 * 招标评标工作备案表 Mapper接口
 *
 * @author admin
 * @since 2025-07-22
 */
@Mapper
public interface ZtbBiddingevafilehisMapper extends BaseMapper<ZtbBiddingevafilehis> {
    /**
     * 查询招标评标工作备案表
     *
     * @return
     */
    List<ZtbBiddingevafilehisVO> selectZtbBiddingevafilehisList(@Param("query") ZtbBiddingevafilehisVO vo);

    IPage<ZtbBiddingevafilehisVO> pageList(@Param("page") Page<ZtbBiddingevafilehisVO> page, @Param("query") ZtbBiddingevafilehisVO vo);

    List<ZtbBiddingevafilehisVO> getDataForExport(@Param("query") ZtbBiddingevafilehisVO vo);

    void createTempTable(@Param("batchFlag")String batchFlag);
    void insertTempTable(@Param("list") List<ZtbBiddingevafilehisVO> dataList, @Param("batchFlag")String batchFlag);
    void insertTable(@Param("batchFlag")String batchFlag);
    void dropTempTable(@Param("batchFlag")String batchFlag);
}
